package com.cqggrw.service.impl;

import java.util.List;

import com.cqggrw.dao.RoleDaoI;
import com.cqggrw.dao.impl.RoleDaoImpl;
import com.cqggrw.domain.Role;
import com.cqggrw.service.RoleServiceI;

public class RoleServiceImpl implements RoleServiceI<Role> {
	
	private RoleDaoI<Role> dao = new RoleDaoImpl();

	public boolean add(Role t) {
		return dao.add(t);
	}

	public boolean del(int id) {
		return dao.del(id);
	}

	public boolean modify(Role t) {
		return dao.modify(t);
	}

	public Role get(Role t) {
		return dao.get(t);
	}

	public List<Role> get() {
		return dao.get();
	}

}
